﻿using System;

// value was taken from P_ICP_USER_ROLE
public enum ICPUserRole
{
    Administrator = 0,
    CAR = 1,
    Sales = 2,
    Marketing = 3,
    Perbendaharaan = 4,
    HelpDesk = 5,
    AccountManager = 6,
    AdminForum = 7,
    CARAdminForum = 8,
    CARPimpinanCAR = 9,
    CARHelpDesk = 10,
    SSE = 11
}

public enum Gender { 
    Male = 1,
    Female = 2
}

// taken from DB Table value: P_INPUT_CONTROL_TYPE
public enum TextboxType {
    Empty = -1,
    FreeText = 0,
    Integer = 1,
    Email = 2,
    Currency = 3,
    Date = 4,
    DateTime = 5,
    FileUpload = 6,
    DocumentUpload = 7,
    ImageUpload = 8,
    PhoneNumber = 9,
    ReadOnly = 10,
    Rating = 11,
    YesNoOption = 12,
    Notes = 13
}

// taken from DB Table value: P_FILE_UPLOAD_TYPE
public enum UploadType{
    GENERAL = 0,
    EVENT_ATTACHMENT = 1,
    COMPANY_PROFILE = 2,
    CONTACT_DATA = 3,
    COMPANY_LOGO = 4,
    AVATAR = 5,
    EVENT_LOG = 6,
    CUSTOMER_VISIT = 7,
    CONFIGURATION = 8,
    DATEK = 9,
    MRTG = 10,
    USER_PROFILE_PICTURE = 11,
    SLA = 12,
    EVENT_PRESENTATION = 13,
    EVALUASI = 14,
    COURTESY_CALL = 15
}

// taken from DB Table value: FEED_SOURCE
public enum NewsFeedSourceType
{
    ICP = 1,
    ICP_MRTG = 2,
    ICP_COURTESY_CALL = 3,
    ICP_CUSTOMER_VISIT = 4,
    ICP_NPS=5
}

// taken from DB Table value: P_USER_EVENT_TYPE
public enum UserEventType
{
    CustomerVisit = 1,
    CourtessyCall = 2,
    UserForum = 3,
    CustomerAnniversary = 4
}

public enum CacheType
{ 
    FiveMinutes,
    OneHour,
    Daily
}

public enum FormMode
{ 
    View,
    Editor
}